45a7702da7aa2d2abe8012b235aaa90fd2758cfc,src/main/java/org/acra/collector/MemoryInfoCollector.java,MemoryInfoCollector,collectMemInfo,#,77

Before Change


            commandLine.add(Integer.toString(android.os.Process.myPid()));

            final Process process = Runtime.getRuntime().exec(commandLine.toArray(new String[commandLine.size()]));
            meminfo = IOUtils.streamToString(process.getInputStream());

        } catch (IOException e) {
            ACRA.log.e(LOG_TAG, "MemoryInfoCollector.meminfo could not retrieve data", e);

After Change


            commandLine.add(Integer.toString(android.os.Process.myPid()));

            final Process process = Runtime.getRuntime().exec(commandLine.toArray(new String[commandLine.size()]));
            return new StringElement(IOUtils.streamToString(process.getInputStream()));
        } catch (IOException e) {
            ACRA.log.e(LOG_TAG, "MemoryInfoCollector.meminfo could not retrieve data", e);
            return ACRAConstants.NOT_AVAILABLE;